import request from '@/utils/request'
import { ResultLoginVo, DeepRequired, RegisterDto } from '../../interface'

/**
 * 用户注册
 * /auth/register
 */
export function postAuthRegister(input: RegisterDto) {
  return request.post<DeepRequired<ResultLoginVo>>(`/auth/register`, input)
}
